package org.example.sdpback.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @ProjectName: sdp-back
 * @Package: org.example.sdpback.domain.enums
 * @ClassName: TestCaseLevelEnum
 * @Author: zhuxingyue
 * @Description: 用例等级
 * @Date: 2025/7/24 11:26
 * @Version: 1.0
 **/
@Getter
@AllArgsConstructor
public enum TestCaseLevelEnum {
    TEST_CASE_LEVEL_COMMON(0, "普通"),
    TEST_CASE_LEVEL_IMPORTANT(1, "重要"),
    TEST_CASE_LEVEL_URGENT(2, "紧急"),
    TEST_CASE_LEVEL_VERY_URGENT(3, "非常紧急");
    @EnumValue
    private final Integer value;
    @JsonValue
    private final String name;
}
